{load header}
<!--/H-->

    <!-- 内容区 -->
    <div id="main-content">
        <div id="top-alert" class="fixed alert alert-error" style="display: none;">
            <button class="close fixed" style="margin-top: 4px;">&times;</button>
            <div class="alert-content">这是内容</div>
        </div>
        <div id="main" class="main">
        <!-- nav --><!-- nav -->
            
	<!-- 标题栏 -->
	<div class="main-title">
		<h2>管理员列表</h2>
	</div>
	<div class="cf">
		<div class="fl">
            <a class="btn" href="{eval echo site_url('system/employee_add')}">新 增</a>
            <!--
            <button class="btn ajax-post" url="{eval echo site_url('system/employee')}?setstate=active" target-form="ids">启 用</button>
            <button class="btn ajax-post" url="{eval echo site_url('system/employee')}?setstate=disable" target-form="ids">禁 用</button>
            <button class="btn ajax-post confirm" url="{eval echo site_url('system/employee')}?setstate=delete" target-form="ids">删 除</button>
            -->
        </div>

        <!-- 高级搜索 -->
		<div class="search-form fr cf">
			<div class="sleft">
				<input type="text" name="nickname" class="search-input" value="" placeholder="请输入用户昵称或者ID">
				<a class="sch-btn" href="javascript:;" id="search" url=""><i class="btn-search"></i></a>
			</div>
		</div>
    </div>
	
	<!-- 数据列表 -->
    <div class="data-table table-striped">
		<table>
			<thead>
				<tr>
				<th class="">用户组</th>
				<th class="">用户名</th>
				<th class="">姓名</th>
				<th class="">电话</th>
				<th class="">登录次数</th>
				<th class="">最后登录时间</th>
				<th class="">最后登录IP</th>
				<th class="">状态</th>
				<th class="">操作</th>
				</tr>
			</thead>
			<tbody>
				<!--{loop $list $val}-->
				<tr>
					<td>{$val['group_name']}</td>
					<td><a href="{eval echo site_url('system/employee_edit')}?id={$val['id']}">{$val['username']}</a></td>
					<td>{$val['truename']}</td>
					<td>{$val['mobile']}</td>
					<td>{$val['login_num']}</td>
					<td>{$val['last_login_time']}</td>
					<td>{$val['last_login_ip']}</td>
					<td>{$val['state']}</td>
					<td>
						<a title="编辑" href="{eval echo site_url('system/employee_edit')}?id={$val['id']}">编辑</a>
                                                <!--
						<a title="授权" href="{eval echo site_url('system/employee_accredit')}?id={$val['id']}">授权</a>
                                                -->
						<a class="confirm ajax-get" title="删除" href="{eval echo site_url('system/employee_del')}?id={$val['id']}&name={$item['username']}">删除</a>
					</td>
				</tr>
				<!--{/loop}-->
			</tbody>
		</table>
		<!-- 分页 -->
	    <div class="page">
	        <div>
			{$showpage}
			<span class="rows">共 {$Total} 条记录</span>
			</div>
		</div>
		
	</div>

<!--F-->{load footer}